export function showToast(msg) {
	return uni.showToast({
		title: msg,
		duration: 2500,
		icon: 'none'
	});
}
let versionCode = 100
export function getVersionCode() {
	
	plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo) {
		console.log(12321213123123)
		 versionCode = wgtinfo.versionCode
		// console.log(versionCode)
	});
	 console.log(versionCode)
	 return versionCode
}
export function getVersion() {
	let version = '1.0.0'
	plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo) {
		version = wgtinfo.version
	});
	return version
}